package com.wmjsoft.plugins.security.base

class StringResult {
    private var message: String? = null

    private var data: String? = null

    companion object {
        @JvmStatic
        fun getInstance(message: String?): StringResult? {
            val result = StringResult()
            result.message = message
            return result
        }

        @JvmStatic
        fun getInstance(message: String?, data: String?): StringResult? {
            val result = StringResult()
            result.message = message
            result.data = data
            return result
        }
    }
}